$("#account-set").click(function () {
    location.href = "./account-set.html";
  });
$("#my-application").click(function () {
    location.href = "./my-application.html";
  });
$("#browsing").click(function () {
    location.href = "./browsing.html";
  });
$("#close").click(function () {
    if ($(this).text() == "关闭") {
      $(this).text("开启");
    } else {
      $(this).text("关闭");
  }});
$('.user').click(function () {
    location.href = "./login.html";
})
 var My = {
   render() {
    var phone =localStorage.phone;
    if (phone) {
      $('#phone').show().html(`<p class="fw-500">${phone}</p>
          <p class="mt-10 f12 c666">
            <span>简历评分60分，建议优化 </span
            ><i class="iconfont icon-youjiantou"></i>
          </p>`);
        $('#login').hide();
        $('#head1').hide();
        $('#head2').show();
    }else {
      $('#phone').hide()
      $('#login').show();
      $('#head1').show();
      $('#head2').hide();
    }
     
   }
 }